package com.hp.ssm.service;

import com.hp.ssm.entity.Doctor;
import com.hp.ssm.entity.Hospital;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorService {

    List<Doctor> showAll2(Doctor doctor,@Param("page") Integer page,@Param("limit") Integer limit);

    Doctor findId(int did);

    int updateStatus(Doctor doctor);

    int insert(Doctor doctor);

    List<Doctor> showAll(Doctor doctor,@Param("page") Integer page,@Param("limit") Integer limit);

    int del(Doctor doctor);

    int reck(Doctor doctor);
}
